{% extends "base/class.php.twig" %}

{% block file_path %}
\Drupal\{{module}}\Plugin\Block\{{class_name}}.
{% endblock %}

{% block namespace_class %}
namespace Drupal\{{module}}\Plugin\Block;
{% endblock %}

{% block use_class %}
use Drupal\Core\Block\BlockBase;
{% endblock %}

{% block class_declaration %}

  /**
   * {@inheritdoc}
   */
  public function build() {
    $build = [];
    $build['{{block_id}}']['#markup'] = 'Implement {{class_name}}.';
    return $build;
  }
{% endblock %}
